package threadpool1;

public class MyThreadpollDemo2 {
    public static void main(String[] args) {
        //向java虚拟机返回可用的处理器个数
       int count=Runtime.getRuntime().availableProcessors();
        System.out.println(count);
    }
}
